package com.dk.service.specification;

import com.dk.pojo.specification.TbSpecification;
import com.dk.pojo.specification.TbSpecificationOption;

import java.util.List;
import java.util.Map;

public interface SpecificationService {
    List<TbSpecification> listSpecification();

    int addSpecificationAndOptions(String specName, String options);

    Map<String, Object> getSpecificationAndOption(Long id);

    int updateSpecificationInfo(TbSpecification tbSpecification, String options);

    int deleteSpecificationByIds(Long[] ids);

    List<TbSpecificationOption> listOptionBySpecId(Long id);
}
